package com.naiterui.ehp.bs.doctor.vo.product;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <pre>
 * 分类VO
 * </pre>
 *
 * @author fangguanhong
 * @date 2019/5/18 上午10:59
 * @since 1.0.0
 */
@ApiModel(value = "CategoryVO", description = "商品分类VO")
public class CategoryVO implements Serializable {

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 父ID
     */
    @ApiModelProperty(value = "父ID")
    private Long parentId;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 分类icon
     */
    @ApiModelProperty(value = "分类icon")
    private String icon;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String description;

    /**
     * 子分类列表
     */
    @ApiModelProperty(value = "子分类列表")
    private List<CategoryVO> childs;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<CategoryVO> getChilds() {
        return childs;
    }

    public void setChilds(List<CategoryVO> childs) {
        this.childs = childs;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}
